package zzs.generalframework.console.core.user.usereducation.service;

import java.util.List;

import zzs.generalframework.common.core.user.usereducation.UserEducationBO;
import zzs.generalframework.common.core.user.usereducation.UserEducationInfo;
import zzs.generalframework.console.common.exception.ConsoleException;
import zzs.generalframework.console.common.model.ConsoleReturnBO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.user.usereducation.service
 * @author zzs
 * @date 2018年2月5日
 * @version 1.0
 */
public interface IUserEducationService
{

	/**
	 * 保存用户教育信息
	 *
	 * @param userEducation
	 * @return
	 */
	public ConsoleReturnBO saveUserEducation(UserEducationBO userEducationBO);

	/**
	 * 保存用户教育信息列表
	 *
	 * @param userEducationBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO saveUserEducation(List<UserEducationBO> userEducationBOList) throws ConsoleException;

	/**
	 * 获取用户教育信息
	 *
	 * @param userEducationInfo
	 * @return
	 */
	public ConsoleReturnBO getUserEducation(UserEducationInfo userEducationInfo);

	/**
	 * 获取用户教育信息列表
	 *
	 * @param userEducationInfo
	 * @return
	 */
	public ConsoleReturnBO listUserEducation(UserEducationInfo userEducationInfo);

	/**
	 * 更新用户教育信息
	 *
	 * @param userEducationBO
	 * @return
	 */
	public ConsoleReturnBO updateUserEducation(UserEducationBO userEducationBO);

	/**
	 * 更新用户教育信息列表
	 *
	 * @param userEducationBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO updateUserEducation(List<UserEducationBO> userEducationBOList) throws ConsoleException;

	/**
	 * 删除用户教育信息
	 *
	 * @param userEducationBO
	 * @return
	 */
	public ConsoleReturnBO removeUserEducation(UserEducationBO userEducationBO);

	/**
	 * 删除用户教育信息列表
	 *
	 * @param userEducationBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO removeUserEducation(List<UserEducationBO> userEducationBOList) throws ConsoleException;

	/**
	 * 统计用户教育信息
	 *
	 * @param userEducationBO
	 * @return
	 */
	public Long countUserEducation(UserEducationBO userEducationBO);

}
